1 write to Diagnostics
Microsoft.CodeAnalysis (1)
Emit\Context.cs (1)
50
Diagnostics
= diagnostics;
28 references to Diagnostics
Microsoft.CodeAnalysis (28)
Emit\CommonPEModuleBuilder.cs (6)
379
return Translate(CommonCorLibrary, context.
Diagnostics
);
474
result.Add(new Cci.AssemblyReferenceAlias(alias, Translate(assembly, context.
Diagnostics
)));
496
foreach (var aRef in GetAssemblyReferencesFromAddedModules(context.
Diagnostics
))
524
AddEmbeddedResourcesFromAddedModules(builder, context.
Diagnostics
);
697
foreach (var embedded in EmbeddedTypesManagerOpt.GetTypes(context.
Diagnostics
, names))
1128
return GetSpecialType((SpecialType)platformType, (TSyntaxNode)context.SyntaxNode, context.
Diagnostics
);
Emit\EditAndContinue\DeletedMethodBody.cs (1)
92
builder.EmitToken(hotReloadExceptionCtorDef.GetCciAdapter(), context.SyntaxNode!, context.
Diagnostics
);
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
492
module.OnCreatedIndices(this.Context.
Diagnostics
);
844
Context.
Diagnostics
.Add(messageProvider.CreateDiagnostic(
917
translatedType = Context.Module.EncTranslateType(typeSymbol, Context.
Diagnostics
);
Emit\NoPia\CommonEmbeddedEvent.cs (1)
145
return GetType((TPEModuleBuilder)context.Module, (TSyntaxNode)context.SyntaxNode, context.
Diagnostics
);
Emit\NoPia\CommonEmbeddedMember.cs (1)
101
context.
Diagnostics
.AddRange(diagnostics);
Emit\NoPia\CommonEmbeddedParameter.cs (1)
203
context.
Diagnostics
.AddRange(diagnostics);
Emit\NoPia\CommonEmbeddedType.cs (2)
240
return GetBaseClass((TPEModuleBuilder)context.Module, (TSyntaxNode)context.SyntaxNode, context.
Diagnostics
);
542
context.
Diagnostics
.AddRange(diagnostics);
PEWriter\MetadataWriter.cs (9)
1357
this.Context.
Diagnostics
.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.ERR_MetadataNameTooLong, location, name));
1366
this.Context.
Diagnostics
.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.ERR_MetadataNameTooLong, location, path));
1390
this.Context.
Diagnostics
.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.ERR_MetadataNameTooLong, location, namespaceName + "." + mangledTypeName));
1400
this.Context.
Diagnostics
.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.WRN_PdbUsingNameTooLong, location, usingString));
1412
this.Context.
Diagnostics
.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.WRN_PdbLocalNameTooLong, localDefinition.Location, name));
2225
var exportedTypes = module.GetExportedTypes(Context.
Diagnostics
);
3169
this.Context.
Diagnostics
.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.ERR_TooManyUserStrings, NoLocation.Singleton));
3187
this.Context.
Diagnostics
.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.ERR_TooManyUserStrings, NoLocation.Singleton));
3454
Context.
Diagnostics
,
PEWriter\ReferenceIndexer.cs (1)
37
foreach (var exportedType in module.GetExportedTypes(Context.
Diagnostics
))
PEWriter\TypeNameSerializer.cs (1)
84
context.
Diagnostics
.Add(messageProvider.CreateDiagnostic(
Symbols\Attributes\MarshalPseudoCustomAttributeData.cs (2)
123
return ((CommonPEModuleBuilder)context.Module).Translate(typeSymbol, context.SyntaxNode, context.
Diagnostics
);
186
return ((CommonPEModuleBuilder)context.Module).Translate((ITypeSymbolInternal)_marshalTypeNameOrSymbol, context.SyntaxNode, context.
Diagnostics
);