Arnolyzer.Analyzers.ImmutabilityAnalyzers.VariableMutations.GetAllNonIgnoredMutations C# (CSharp) Метод

GetAllNonIgnoredMutations() публичный статический Метод

public static GetAllNonIgnoredMutations ( Microsoft.CodeAnalysis.SyntaxNode syntax, IEnumerable ignoredVariables, IEnumerable identifiers ) : IEnumerable
syntax Microsoft.CodeAnalysis.SyntaxNode
ignoredVariables IEnumerable
identifiers IEnumerable
Результат IEnumerable
        public static IEnumerable<NameAndLocation> GetAllNonIgnoredMutations(
            SyntaxNode syntax,
            IEnumerable<NameAndLocation> ignoredVariables,
            IEnumerable<string> identifiers)
        {
            return from assignment in GetAllMutations(syntax)
                   where ignoredVariables.All(ignored => ignored.Name != assignment.Name) &&
                         identifiers.Any(i => i == assignment.Name)
                   select assignment;
        }