2 writes to TopLevelBinderFlags
Microsoft.CodeAnalysis.CSharp (2)
CSharpCompilationOptions.cs (2)
236this.TopLevelBinderFlags = topLevelBinderFlags; 282return (flags == TopLevelBinderFlags) ? this : new CSharpCompilationOptions(this) { TopLevelBinderFlags = flags };
9 references to TopLevelBinderFlags
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.cs (1)
34this.Flags = compilation.Options.TopLevelBinderFlags;
Compilation\CSharpDeterministicKeyBuilder.cs (1)
30writer.Write("topLevelBinderFlags", csharpOptions.TopLevelBinderFlags);
CSharpCompilationOptions.cs (5)
271topLevelBinderFlags: other.TopLevelBinderFlags, 282return (flags == TopLevelBinderFlags) ? this : new CSharpCompilationOptions(this) { TopLevelBinderFlags = flags }; 777this.TopLevelBinderFlags == other.TopLevelBinderFlags && 793Hash.Combine(((uint)TopLevelBinderFlags).GetHashCode(), ((int)this.NullableContextOptions).GetHashCode())))));
Symbols\Compilation_WellKnownMembers.cs (1)
129bool ignoreCorLibraryDuplicatedTypes = this.Options.TopLevelBinderFlags.Includes(BinderFlags.IgnoreCorLibraryDuplicatedTypes);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CSharpCompilationOptionsTests.cs (1)
138TestProperty((old, value) => old.WithTopLevelBinderFlags(value), opt => opt.TopLevelBinderFlags, BinderFlags.IgnoreCorLibraryDuplicatedTypes);