17 references to HasFileLocalTypes
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Constraints.cs (1)
458if (constraintType.Type.HasFileLocalTypes())
Symbols\Source\SourceDelegateMethodSymbol.cs (3)
107var delegateTypeIsFile = delegateType.HasFileLocalTypes(); 108if (!delegateTypeIsFile && invoke.ReturnType.HasFileLocalTypes()) 121else if (!delegateTypeIsFile && parameterSymbol.Type.HasFileLocalTypes())
Symbols\Source\SourceMemberFieldSymbol.cs (2)
49if (type.HasFileLocalTypes() && !ContainingType.HasFileLocalTypes())
Symbols\Source\SourceMemberMethodSymbol.cs (3)
374if (ContainingType.HasFileLocalTypes()) 379if (returnType.Type.HasFileLocalTypes()) 386if (param.Type.HasFileLocalTypes())
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (3)
395if (baseType.HasFileLocalTypes() && !this.HasFileLocalTypes()) 412if (i.HasFileLocalTypes() && !this.HasFileLocalTypes())
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
798if (usingDirective.GlobalKeyword != default(SyntaxToken) && importedType.HasFileLocalTypes())
Symbols\Source\SourcePropertySymbol.cs (4)
577if (type.Type.HasFileLocalTypes() && !ContainingType.HasFileLocalTypes()) 659else if (param.Type.HasFileLocalTypes() && !this.ContainingType.HasFileLocalTypes())