1 write to _compilation
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
66
_compilation
= compilation;
36 references to _compilation
Microsoft.CodeAnalysis (36)
Operations\ControlFlowGraphBuilder.cs (36)
2411
INamedTypeSymbol booleanType =
_compilation
.GetSpecialType(SpecialType.System_Boolean);
2452
return new ConversionOperation(condition,
_compilation
.ClassifyConvertibleConversion(condition, binOp.Type, out _), isTryCast: false, isChecked: false,
2458
return new ConversionOperation(operand,
_compilation
.ClassifyConvertibleConversion(operand, type, out ConstantValue? constantValue), isTryCast: false, isChecked: false,
2469
INamedTypeSymbol booleanType =
_compilation
.GetSpecialType(SpecialType.System_Boolean);
2570
INamedTypeSymbol booleanType =
_compilation
.GetSpecialType(SpecialType.System_Boolean);
3309
return MakeIsNullOperation(operand,
_compilation
.GetSpecialType(SpecialType.System_Boolean));
3334
var method = (IMethodSymbol?)
_compilation
.CommonGetSpecialTypeMember(nullableMember)?.GetISymbol();
3962
?
_compilation
.CommonGetWellKnownType(WellKnownType.System_IAsyncDisposable).GetITypeSymbol()
3963
:
_compilation
.GetSpecialType(SpecialType.System_IDisposable);
4172
? (IMethodSymbol?)
_compilation
.CommonGetWellKnownTypeMember(WellKnownMember.System_IAsyncDisposable__DisposeAsync)?.GetISymbol()
4173
: (IMethodSymbol?)
_compilation
.CommonGetSpecialTypeMember(SpecialMember.System_IDisposable__Dispose)?.GetISymbol());
4195
return new AwaitOperation(invocation, semanticModel: null, value.Syntax,
_compilation
.GetSpecialType(SpecialType.System_Void), isImplicit: true);
4213
iDisposable.Equals(
_compilation
.CommonGetWellKnownType(WellKnownType.System_IAsyncDisposable)?.GetITypeSymbol()));
4214
return new ConversionOperation(operand,
_compilation
.ClassifyConvertibleConversion(operand, iDisposable, out var constantValue), isTryCast, isChecked: false,
4273
ITypeSymbol objectType =
_compilation
.GetSpecialType(SpecialType.System_Object);
4327
var enterMethod = (IMethodSymbol?)
_compilation
.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Enter2)?.GetISymbol();
4333
enterMethod = (IMethodSymbol?)
_compilation
.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Enter)?.GetISymbol();
4416
var exitMethod = (IMethodSymbol?)
_compilation
.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Exit)?.GetISymbol();
4538
?
_compilation
.CommonGetWellKnownType(WellKnownType.System_IAsyncDisposable).GetITypeSymbol()
4539
:
_compilation
.GetSpecialType(SpecialType.System_IDisposable);
4622
return new AwaitOperation(moveNext, semanticModel: null, operation.Syntax,
_compilation
.GetSpecialType(SpecialType.System_Boolean), isImplicit: true);
4629
return MakeInvalidOperation(
_compilation
.GetSpecialType(SpecialType.System_Boolean), enumeratorRef);
4742
ITypeSymbol booleanType =
_compilation
.GetSpecialType(SpecialType.System_Boolean);
4788
var method = (IMethodSymbol?)
_compilation
.CommonGetWellKnownTypeMember(helper)?.GetISymbol();
5162
_compilation
.GetSpecialType(SpecialType.System_Boolean),
5243
var shiftConst = new LiteralOperation(semanticModel: null, operand.Syntax,
_compilation
.GetSpecialType(SpecialType.System_Int32),
5345
_compilation
.GetSpecialType(SpecialType.System_Boolean),
5466
INamedTypeSymbol booleanType =
_compilation
.GetSpecialType(SpecialType.System_Boolean);
5832
ITypeSymbol booleanType =
_compilation
.GetSpecialType(SpecialType.System_Boolean);
6594
Debug.Assert(operation.Parent is InvocationOperation { Parent: CollectionExpressionOperation ce } && ce.HasErrors(
_compilation
),
7740
INamedTypeSymbol booleanType =
_compilation
.GetSpecialType(SpecialType.System_Boolean);
7792
(IMethodSymbol?)(
_compilation
.CommonGetWellKnownTypeMember(WellKnownMember.System_Runtime_CompilerServices_SwitchExpressionException__ctor) ??
7793
_compilation
.CommonGetWellKnownTypeMember(WellKnownMember.System_InvalidOperationException__ctor))?.GetISymbol();
7795
? MakeInvalidOperation(operation.Syntax, type:
_compilation
.GetSpecialType(SpecialType.System_Object), ImmutableArray<IOperation>.Empty)
7857
Debug.Assert(operation == null || ((Operation)operation).OwningSemanticModel!.Compilation ==
_compilation
);
7865
Debug.Assert(operation == null || ((Operation)operation).OwningSemanticModel!.Compilation ==
_compilation
);