1 write to _diagnostics
Microsoft.CodeAnalysis.VisualBasic (1)
CodeGen\CodeGenerator.vb (1)
64
_diagnostics
= diagnostics
22 references to _diagnostics
Microsoft.CodeAnalysis.VisualBasic (22)
CodeGen\CodeGenerator.vb (5)
171
If Not
_diagnostics
.HasAnyErrors Then
176
Debug.Assert(
_diagnostics
.HasAnyErrors())
193
_builder.EmitToken(_module.Translate(symbol, syntaxNode,
_diagnostics
), syntaxNode)
197
Dim methodRef = _module.Translate(symbol, syntaxNode,
_diagnostics
, needDeclaration:=encodeAsRawDefinitionToken)
202
_builder.EmitToken(_module.Translate(symbol, syntaxNode,
_diagnostics
), syntaxNode)
CodeGen\EmitConversion.vb (1)
234
_diagnostics
.Add(New VBDiagnostic(diagnosticInfo, conversion.Syntax.Location))
CodeGen\EmitExpression.vb (6)
68
_diagnostics
.Add(ERRID.ERR_TooLongOrComplexExpression,
530
EmitExpression(expression.EmitExpressions.GetValue(expression,
_diagnostics
), used)
2358
_builder.EmitToken(_module.GetModuleVersionId(_module.Translate(node.Type, node.Syntax,
_diagnostics
), node.Syntax,
_diagnostics
), node.Syntax)
2377
_builder.EmitToken(_module.GetInstrumentationPayloadRoot(node.AnalysisKind, _module.Translate(node.Type, node.Syntax,
_diagnostics
), node.Syntax,
_diagnostics
), node.Syntax)
CodeGen\EmitStatement.vb (10)
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
)
662
_diagnostics
.Add(ERRID.ERR_TooLongOrComplexExpression,
1092
Dim privateImplClass = _module.GetPrivateImplClass(syntaxNode,
_diagnostics
)
1105
Dim UInt32Type = DirectCast(_module.GetSpecialType(SpecialType.System_UInt32, syntaxNode,
_diagnostics
).GetInternalSymbol(), TypeSymbol)
1119
Dim stringCompareMethodRef As Cci.IReference = Me._module.Translate(stringCompareMethod, needDeclaration:=False, syntaxNodeOpt:=syntaxNode, diagnostics:=
_diagnostics
)
1261
Dim compileTimeValue As MetadataConstant = _module.CreateConstant(local.Type, local.ConstantValue, syntaxNode,
_diagnostics
)
1277
Dim translatedType = _module.Translate(local.Type, syntaxNodeOpt:=syntaxNode, diagnostics:=
_diagnostics
)
1280
_module.GetFakeSymbolTokenForIL(translatedType, syntaxNode,
_diagnostics
)
1388
Me._module.Translate(type, syntaxNodeOpt:=syntaxNode, diagnostics:=
_diagnostics
),