22 references to Compilation
Microsoft.CodeAnalysis.VisualBasic (22)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
490Dim createDelegate = DirectCast(Binder.GetWellKnownTypeMember(Me._factory.Compilation, WellKnownMember.System_Reflection_MethodInfo__CreateDelegate, useSiteInfo), MethodSymbol)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (1)
113type = type.ExpressionTargetDelegate(Me._factory.Compilation)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (4)
60methodBodyFactory.Compilation, 66methodBodyFactory.Compilation, 120_payloadType = ArrayTypeSymbol.CreateVBArray(payloadElementType, ImmutableArray(Of CustomModifier).Empty, 1, methodBodyFactory.Compilation.Assembly) 243ArrayTypeSymbol.CreateVBArray(_payloadType, ImmutableArray(Of CustomModifier).Empty, 1, _methodBodyFactory.Compilation.Assembly)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (6)
167Dim isDebugBuild As Boolean = F.Compilation.Options.OptimizationLevel = OptimizationLevel.Debug 293If Not local.SynthesizedKind.IsSlotReusable(F.Compilation.Options.OptimizationLevel) Then 379Return Binder.GetSpecialType(F.Compilation, type, Me.Body.Syntax, bag) 383Return Binder.GetWellKnownType(F.Compilation, type, Me.Body.Syntax, bag) 387Return Binder.GetSpecialTypeMember(F.Compilation.Assembly, member, Me.Body.Syntax, bag) 391Return Binder.GetWellKnownTypeMember(F.Compilation, member, Me.Body.Syntax, bag)
Lowering\SyntheticBoundNodeFactory.vb (10)
227Return Binder.GetSpecialType(Me.Compilation, st, _syntax, Me.Diagnostics) 245Return Binder.GetWellKnownType(Me.Compilation, wt, _syntax, Me.Diagnostics) 250Dim member = DirectCast(Binder.GetWellKnownTypeMember(Me.Compilation, wm, useSiteInfo), T) 262Dim memberSymbol As Symbol = Me.Compilation.GetSpecialTypeMember(sm) 356Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(Diagnostics, Me.Compilation.Assembly) 848systemTypeSymbol.Equals(Compilation.GetWellKnownType(CodeAnalysis.WellKnownType.System_Type), TypeCompareKind.AllIgnoreOptionsForVB)) 891systemReflectionMethodInfo.Equals(Compilation.GetWellKnownType(CodeAnalysis.WellKnownType.System_Reflection_MethodInfo), TypeCompareKind.AllIgnoreOptionsForVB) OrElse 892systemReflectionMethodInfo.Equals(Compilation.GetWellKnownType(CodeAnalysis.WellKnownType.System_Reflection_ConstructorInfo), TypeCompareKind.AllIgnoreOptionsForVB)) 1036Dim arrayType = Me.Compilation.CreateArrayTypeSymbol(elementType) 1043Dim arrayType = Me.Compilation.CreateArrayTypeSymbol(elementType)