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)) 946if (args.CurrentCompilation.SourceModule != typeParameter.ContainingModule) 948if (MessageID.IDS_FeatureAllowsRefStructConstraint.GetFeatureAvailabilityDiagnosticInfo(args.CurrentCompilation) is { } diagnosticInfo) 953if (!args.CurrentCompilation.Assembly.RuntimeSupportsByRefLikeGenerics) 1003if (!(args.CurrentCompilation is null)) 1005var csDiagnosticInfo = MessageID.IDS_FeatureUnmanagedConstructedTypes.GetFeatureAvailabilityDiagnosticInfo(args.CurrentCompilation); 1191SymbolDistinguisher distinguisher = new SymbolDistinguisher(args.CurrentCompilation, constraintType.Type, typeArgument.Type);