1 write to _module
Microsoft.CodeAnalysis.VisualBasic (1)
CodeGen\CodeGenerator.vb (1)
63
_module
= moduleBuilder
46 references to _module
Microsoft.CodeAnalysis.VisualBasic (46)
CodeGen\CodeGenerator.vb (5)
96
Debug.Assert(Not
_module
.JITOptimizationIsDisabled(_method))
100
Return Me.
_module
.Compilation.Options.DebugPlusMode
193
_builder.EmitToken(
_module
.Translate(symbol, syntaxNode, _diagnostics), syntaxNode, _diagnostics)
197
Dim methodRef =
_module
.Translate(symbol, syntaxNode, _diagnostics, needDeclaration:=encodeAsRawDefinitionToken)
202
_builder.EmitToken(
_module
.Translate(symbol, syntaxNode, _diagnostics), syntaxNode, _diagnostics)
CodeGen\EmitAddress.vb (1)
421
_builder.EmitArrayElementAddress(
_module
.Translate(DirectCast(arrayAccess.Expression.Type, ArrayTypeSymbol)), arrayAccess.Syntax, _diagnostics)
CodeGen\EmitArrayInitializer.vb (3)
191
If
_module
.IsEncDelta Then
198
If Not
_module
.Compilation.EnableEnumArrayBlockInitialization Then
205
If (
_module
.GetInitArrayHelper Is Nothing) Then
CodeGen\EmitExpression.vb (16)
631
_builder.EmitArrayElementLoad(
_module
.Translate(DirectCast(arrayAccess.Expression.Type, ArrayTypeSymbol)), arrayAccess.Expression.Syntax, _diagnostics)
971
Debug.Assert(Not Me.
_module
.AllowOmissionOfConditionalCalls OrElse Not method.CallsAreOmitted([call].Syntax, [call].SyntaxTree))
1143
If method.ContainingSymbol Is Me.
_module
.Compilation.GetWellKnownType(WellKnownType.Microsoft_VisualBasic_ErrObject) Then
1147
ElseIf method.ContainingSymbol Is Me.
_module
.Compilation.GetWellKnownType(WellKnownType.Microsoft_VisualBasic_CompilerServices_ProjectData) Then
1151
ElseIf method.ContainingSymbol Is Me.
_module
.Compilation.GetWellKnownType(WellKnownType.Microsoft_VisualBasic_ApplicationServices_ApplicationBase) Then
1155
ElseIf method.ContainingSymbol Is Me.
_module
.Compilation.GetWellKnownType(WellKnownType.Microsoft_VisualBasic_ApplicationServices_WindowsFormsApplicationBase) Then
1159
ElseIf method.ContainingSymbol Is Me.
_module
.Compilation.GetWellKnownType(WellKnownType.Microsoft_VisualBasic_FileSystem) Then
1170
Me.
_module
.SetDisableJITOptimization(Me._method)
1612
_builder.EmitArrayCreation(
_module
.Translate(arrayType), expression.Syntax, _diagnostics)
2089
_builder.EmitArrayElementStore(
_module
.Translate(arrayType), syntaxNode, _diagnostics)
2244
getField = DirectCast(Me.
_module
.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Reflection_FieldInfo__GetFieldFromHandle), MethodSymbol)
2249
getField = DirectCast(Me.
_module
.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Reflection_FieldInfo__GetFieldFromHandle2), MethodSymbol)
2337
_builder.EmitToken(
_module
.GetModuleVersionId(
_module
.Translate(node.Type, node.Syntax, _diagnostics), node.Syntax, _diagnostics), node.Syntax, _diagnostics)
2356
_builder.EmitToken(
_module
.GetInstrumentationPayloadRoot(node.AnalysisKind,
_module
.Translate(node.Type, node.Syntax, _diagnostics), node.Syntax, _diagnostics), node.Syntax, _diagnostics)
CodeGen\EmitStatement.vb (21)
199
exceptionType = Me.
_module
.Translate(exceptionSource.Type, exceptionSource.Syntax, _diagnostics)
202
exceptionType = Me.
_module
.Translate(Me.
_module
.Compilation.GetWellKnownType(WellKnownType.System_Exception), catchBlock.Syntax, _diagnostics)
427
Return Not Me.
_module
.SourceModule.ContainingSourceAssembly.IsVbRuntime
434
setProjectErrorMethod = DirectCast(Me.
_module
.Compilation.GetWellKnownTypeMember(WellKnownMember.Microsoft_VisualBasic_CompilerServices_ProjectData__SetProjectError), MethodSymbol)
438
setProjectErrorMethod = DirectCast(Me.
_module
.Compilation.GetWellKnownTypeMember(WellKnownMember.Microsoft_VisualBasic_CompilerServices_ProjectData__SetProjectError_Int32), MethodSymbol)
449
Dim clearProjectErrorMethod = DirectCast(Me.
_module
.Compilation.GetWellKnownTypeMember(clearProjectError), MethodSymbol)
1091
Dim privateImplClass =
_module
.GetPrivateImplClass(syntaxNode, _diagnostics)
1104
Dim UInt32Type = DirectCast(
_module
.GetSpecialType(SpecialType.System_UInt32, syntaxNode, _diagnostics).GetInternalSymbol(), TypeSymbol)
1111
Dim embeddedOperatorsType As NamedTypeSymbol = Me.
_module
.Compilation.GetWellKnownType(WellKnownType.Microsoft_VisualBasic_CompilerServices_EmbeddedOperators)
1117
Dim stringCompareMethod = DirectCast(Me.
_module
.Compilation.GetWellKnownTypeMember(compareStringMember), MethodSymbol)
1118
Dim stringCompareMethodRef As Cci.IReference = Me.
_module
.Translate(stringCompareMethod, needDeclaration:=False, syntaxNodeOpt:=syntaxNode, diagnostics:=_diagnostics)
1157
Debug.Assert(stringCompareMethodRef Is Me.
_module
.Translate(DirectCast(
1158
If(TypeOf Me.
_module
.Compilation.GetWellKnownType(WellKnownType.Microsoft_VisualBasic_CompilerServices_EmbeddedOperators) Is MissingMetadataTypeSymbol,
1159
Me.
_module
.Compilation.GetWellKnownTypeMember(WellKnownMember.Microsoft_VisualBasic_CompilerServices_Operators__CompareStringStringStringBoolean),
1160
Me.
_module
.Compilation.GetWellKnownTypeMember(WellKnownMember.Microsoft_VisualBasic_CompilerServices_EmbeddedOperators__CompareStringStringStringBoolean)), MethodSymbol), needDeclaration:=False,
1259
Dim compileTimeValue As MetadataConstant =
_module
.CreateConstant(local.Type, local.ConstantValue, syntaxNode, _diagnostics)
1275
Dim translatedType =
_module
.Translate(local.Type, syntaxNodeOpt:=syntaxNode, diagnostics:=_diagnostics)
1278
_module
.GetFakeSymbolTokenForIL(translatedType, syntaxNode, _diagnostics)
1386
Me.
_module
.Translate(type, syntaxNodeOpt:=syntaxNode, diagnostics:=_diagnostics),
1438
If
_module
.debugInformationFormat = DebugInformationFormat.Pdb Then