7 references to GeneratorDiagnosticProperties
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\AddMarshalAsToElementFixer.cs (1)
34
if (!diagnostic.Properties.TryGetValue(
GeneratorDiagnosticProperties
.AddMarshalAsAttribute, out string? addMarshalAsAttribute))
ComInterfaceGenerator.cs (1)
347
ImmutableDictionary<string, string>.Empty.Add(
GeneratorDiagnosticProperties
.AddMarshalAsAttribute, "Error"),
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\AddDisableRuntimeMarshallingAttributeFixer.cs (1)
48
return diagnostic.Properties.ContainsKey(
GeneratorDiagnosticProperties
.AddDisableRuntimeMarshallingAttribute);
Microsoft.Interop.SourceGeneration (4)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (2)
25
ImmutableDictionary<string, string>.Empty.Add(
GeneratorDiagnosticProperties
.AddDisableRuntimeMarshallingAttribute,
GeneratorDiagnosticProperties
.AddDisableRuntimeMarshallingAttribute);
Marshalling\BlittableMarshallerResolver.cs (2)
19
ImmutableDictionary<string, string>.Empty.Add(
GeneratorDiagnosticProperties
.AddDisableRuntimeMarshallingAttribute,
GeneratorDiagnosticProperties
.AddDisableRuntimeMarshallingAttribute);