1 write to CurrentCompilation
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ConstraintsHelper.cs (1)
547
this.
CurrentCompilation
= currentCompilation;
12 references to CurrentCompilation
Microsoft.CodeAnalysis.CSharp (12)
Symbols\ConstraintsHelper.cs (12)
596
if (args.
CurrentCompilation
is not null)
598
Binder.CheckManagedAddr(args.
CurrentCompilation
, ((PointerTypeSymbol)type).PointedAtType, args.Location, args.Diagnostics);
720
Debug.Assert(args.
CurrentCompilation
is object);
748
if (!(args.
CurrentCompilation
!= null && type.IsFromCompilation(args.
CurrentCompilation
)) && HasDuplicateInterfaces(type, null))
970
if (args.
CurrentCompilation
is not null && args.
CurrentCompilation
.SourceModule != typeParameter.ContainingModule)
972
if (MessageID.IDS_FeatureAllowsRefStructConstraint.GetFeatureAvailabilityDiagnosticInfo(args.
CurrentCompilation
) is { } diagnosticInfo)
977
if (!args.
CurrentCompilation
.Assembly.RuntimeSupportsByRefLikeGenerics)
1029
if (!(args.
CurrentCompilation
is null))
1031
var csDiagnosticInfo = MessageID.IDS_FeatureUnmanagedConstructedTypes.GetFeatureAvailabilityDiagnosticInfo(args.
CurrentCompilation
);
1219
SymbolDistinguisher distinguisher = new SymbolDistinguisher(args.
CurrentCompilation
, constraintType.Type, typeArgument.Type);