9 references to SynthesizeNullableAttributeIfNecessary
Microsoft.CodeAnalysis.CSharp (9)
Symbols\MethodSymbol.cs (1)
1178
AddSynthesizedAttribute(ref attributes, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(this, GetNullableContextValue(), type));
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
419
AddSynthesizedAttribute(ref attributes, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(this, ContainingType.GetNullableContextValue(), type));
Symbols\Source\SourceEventSymbol.cs (1)
394
AddSynthesizedAttribute(ref attributes, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(this, containingType.GetNullableContextValue(), type));
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5937
AddSynthesizedAttribute(ref attributes, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(this, nullableContextValue, TypeWithAnnotations.Create(baseType)));
Symbols\Source\SourceParameterSymbolBase.cs (1)
133
AddSynthesizedAttribute(ref attributes, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(parameter, parameter.GetNullableContextValue(), type));
Symbols\Source\SourcePropertySymbolBase.cs (1)
1408
AddSynthesizedAttribute(ref attributes, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(this, ContainingType.GetNullableContextValue(), type));
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
83
AddSynthesizedAttribute(ref attributes, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(this, ContainingType.GetNullableContextValue(), typeWithAnnotations));
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
181
AddSynthesizedAttribute(ref attributes, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(this, GetNullableContextValue(), type));
Symbols\TypeSymbolExtensions.cs (1)
2104
addIfNotNull(builder, moduleBuilder.
SynthesizeNullableAttributeIfNecessary
(declaringSymbol, declaringSymbol.GetNullableContextValue(), type));