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)
2411INamedTypeSymbol booleanType = _compilation.GetSpecialType(SpecialType.System_Boolean); 2452return new ConversionOperation(condition, _compilation.ClassifyConvertibleConversion(condition, binOp.Type, out _), isTryCast: false, isChecked: false, 2458return new ConversionOperation(operand, _compilation.ClassifyConvertibleConversion(operand, type, out ConstantValue? constantValue), isTryCast: false, isChecked: false, 2469INamedTypeSymbol booleanType = _compilation.GetSpecialType(SpecialType.System_Boolean); 2570INamedTypeSymbol booleanType = _compilation.GetSpecialType(SpecialType.System_Boolean); 3309return MakeIsNullOperation(operand, _compilation.GetSpecialType(SpecialType.System_Boolean)); 3334var 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()); 4195return new AwaitOperation(invocation, semanticModel: null, value.Syntax, _compilation.GetSpecialType(SpecialType.System_Void), isImplicit: true); 4213iDisposable.Equals(_compilation.CommonGetWellKnownType(WellKnownType.System_IAsyncDisposable)?.GetITypeSymbol())); 4214return new ConversionOperation(operand, _compilation.ClassifyConvertibleConversion(operand, iDisposable, out var constantValue), isTryCast, isChecked: false, 4273ITypeSymbol objectType = _compilation.GetSpecialType(SpecialType.System_Object); 4327var enterMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Enter2)?.GetISymbol(); 4333enterMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Enter)?.GetISymbol(); 4416var exitMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Exit)?.GetISymbol(); 4538? _compilation.CommonGetWellKnownType(WellKnownType.System_IAsyncDisposable).GetITypeSymbol() 4539: _compilation.GetSpecialType(SpecialType.System_IDisposable); 4622return new AwaitOperation(moveNext, semanticModel: null, operation.Syntax, _compilation.GetSpecialType(SpecialType.System_Boolean), isImplicit: true); 4629return MakeInvalidOperation(_compilation.GetSpecialType(SpecialType.System_Boolean), enumeratorRef); 4742ITypeSymbol booleanType = _compilation.GetSpecialType(SpecialType.System_Boolean); 4788var method = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(helper)?.GetISymbol(); 5162_compilation.GetSpecialType(SpecialType.System_Boolean), 5243var shiftConst = new LiteralOperation(semanticModel: null, operand.Syntax, _compilation.GetSpecialType(SpecialType.System_Int32), 5345_compilation.GetSpecialType(SpecialType.System_Boolean), 5466INamedTypeSymbol booleanType = _compilation.GetSpecialType(SpecialType.System_Boolean); 5832ITypeSymbol booleanType = _compilation.GetSpecialType(SpecialType.System_Boolean); 6594Debug.Assert(operation.Parent is InvocationOperation { Parent: CollectionExpressionOperation ce } && ce.HasErrors(_compilation), 7740INamedTypeSymbol 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) 7857Debug.Assert(operation == null || ((Operation)operation).OwningSemanticModel!.Compilation == _compilation); 7865Debug.Assert(operation == null || ((Operation)operation).OwningSemanticModel!.Compilation == _compilation);