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