1 write to CurrentCompilation
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ConstraintsHelper.cs (1)
547
this.
CurrentCompilation
= currentCompilation;
11 references to CurrentCompilation
Microsoft.CodeAnalysis.CSharp (11)
Symbols\ConstraintsHelper.cs (11)
596
if (args.
CurrentCompilation
is not null)
598
Binder.CheckManagedAddr(args.
CurrentCompilation
, ((PointerTypeSymbol)type).PointedAtType, args.Location, args.Diagnostics);
746
if (!(args.
CurrentCompilation
!= null && type.IsFromCompilation(args.
CurrentCompilation
)) && HasDuplicateInterfaces(type, null))
968
if (args.
CurrentCompilation
is not null && args.
CurrentCompilation
.SourceModule != typeParameter.ContainingModule)
970
if (MessageID.IDS_FeatureAllowsRefStructConstraint.GetFeatureAvailabilityDiagnosticInfo(args.
CurrentCompilation
) is { } diagnosticInfo)
975
if (!args.
CurrentCompilation
.Assembly.RuntimeSupportsByRefLikeGenerics)
1027
if (!(args.
CurrentCompilation
is null))
1029
var csDiagnosticInfo = MessageID.IDS_FeatureUnmanagedConstructedTypes.GetFeatureAvailabilityDiagnosticInfo(args.
CurrentCompilation
);
1217
SymbolDistinguisher distinguisher = new SymbolDistinguisher(args.
CurrentCompilation
, constraintType.Type, typeArgument.Type);