1 write to CurrentCompilation
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ConstraintsHelper.cs (1)
545
this.
CurrentCompilation
= currentCompilation;
10 references to CurrentCompilation
Microsoft.CodeAnalysis.CSharp (10)
Symbols\ConstraintsHelper.cs (10)
593
Binder.CheckManagedAddr(args.
CurrentCompilation
, ((PointerTypeSymbol)type).PointedAtType, args.Location, args.Diagnostics);
713
Debug.Assert(args.
CurrentCompilation
is object);
740
if (!(args.
CurrentCompilation
!= null && type.IsFromCompilation(args.
CurrentCompilation
)) && HasDuplicateInterfaces(type, null))
946
if (args.
CurrentCompilation
.SourceModule != typeParameter.ContainingModule)
948
if (MessageID.IDS_FeatureAllowsRefStructConstraint.GetFeatureAvailabilityDiagnosticInfo(args.
CurrentCompilation
) is { } diagnosticInfo)
953
if (!args.
CurrentCompilation
.Assembly.RuntimeSupportsByRefLikeGenerics)
1003
if (!(args.
CurrentCompilation
is null))
1005
var csDiagnosticInfo = MessageID.IDS_FeatureUnmanagedConstructedTypes.GetFeatureAvailabilityDiagnosticInfo(args.
CurrentCompilation
);
1191
SymbolDistinguisher distinguisher = new SymbolDistinguisher(args.
CurrentCompilation
, constraintType.Type, typeArgument.Type);