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