7 references to ContainsAnonymousType
Microsoft.CodeAnalysis.NetAnalyzers (7)
Microsoft.NetCore.Analyzers\Performance\UseConcreteTypeAnalyzer.cs (7)
267if (ContainsAnonymousType(toType)) 451IArrayTypeSymbol arrayType => ContainsAnonymousType(arrayType.ElementType), 452IPointerTypeSymbol pointerType => ContainsAnonymousType(pointerType.PointedAtType), 453IFunctionPointerTypeSymbol functionPointerType => ContainsAnonymousType(functionPointerType.Signature.ReturnType) 454|| functionPointerType.Signature.Parameters.Any(parameter => ContainsAnonymousType(parameter.Type)), 456|| namedType.TypeArguments.Any(ContainsAnonymousType) 457|| namedType.ContainingType is { } containingType && ContainsAnonymousType(containingType),