2 overrides of Compilation
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Conversions\Conversions.cs (1)
36protected override CSharpCompilation Compilation { get { return _binder.Compilation; } }
Binder\Semantics\Conversions\TypeConversions.cs (1)
66protected override CSharpCompilation Compilation => null;
27 references to Compilation
Microsoft.CodeAnalysis.CSharp (27)
Binder\Semantics\Conversions\ConversionsBase.cs (19)
101Debug.Assert(Compilation != null); 286Debug.Assert(Compilation != null); 378Debug.Assert(Compilation != null); 543Debug.Assert(sourceExpression is null || Compilation is not null); 607Debug.Assert(sourceExpression is null || Compilation is not null); 1031Debug.Assert(sourceExpression is null || Compilation is not null); 1091if (HasAnonymousFunctionConversion(sourceExpression, destination, this.Compilation)) 1148(destination.OriginalDefinition.Equals(Compilation.GetWellKnownType(WellKnownType.System_Span_T), TypeCompareKind.AllIgnoreOptions) || 1149destination.OriginalDefinition.Equals(Compilation.GetWellKnownType(WellKnownType.System_ReadOnlySpan_T), TypeCompareKind.AllIgnoreOptions)) && 1186Debug.Assert(Compilation is not null); 1215Debug.Assert(Compilation is not null); 1295Debug.Assert(Compilation is not null); 1321Debug.Assert(Compilation is not null); 1404Debug.Assert(Compilation != null); 1924Debug.Assert(sourceExpressionOpt is null || Compilation is not null); 2286Debug.Assert(Compilation is not null); 2304Debug.Assert(Compilation is not null); 2329Debug.Assert(Compilation is not null); 3949return Compilation?.IsFeatureEnabled(MessageID.IDS_FeatureFirstClassSpan) != false;
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (4)
27Debug.Assert(sourceExpression is null || Compilation is not null); 94Debug.Assert(sourceExpression is null || Compilation is not null); 152Debug.Assert(sourceExpression is null || Compilation is not null); 477Debug.Assert(expr is null || Compilation is not null);
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (4)
31Debug.Assert(sourceExpression is null || Compilation is not null); 151Debug.Assert(sourceExpression is null || Compilation is not null); 572Debug.Assert(aExpr is null || Compilation is not null); 591Debug.Assert(aExpr is null || Compilation is not null);