8 references to EnsureNullableAttributeExists
Microsoft.CodeAnalysis.CSharp (8)
BoundTree\UnboundLambda.cs (1)
837compilation.EnsureNullableAttributeExists(diagnostics, lambdaSymbol.DiagnosticLocation, modifyCompilation: false);
Symbols\Source\ParameterHelpers.cs (1)
410compilation.EnsureNullableAttributeExists(diagnostics, GetParameterLocation(parameter), modifyCompilation);
Symbols\Source\SourceEventSymbol.cs (1)
764compilation.EnsureNullableAttributeExists(diagnostics, location, modifyCompilation: true);
Symbols\Source\SourceFieldSymbol.cs (1)
152compilation.EnsureNullableAttributeExists(diagnostics, location, modifyCompilation: true);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1846compilation.EnsureNullableAttributeExists(diagnostics, location, modifyCompilation: true);
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
261compilation.EnsureNullableAttributeExists(diagnostics, getReturnTypeLocation(), modifyCompilation: true);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1045compilation.EnsureNullableAttributeExists(diagnostics, location, modifyCompilation: true);
Symbols\Source\SourceTypeParameterSymbol.cs (1)
313DeclaringCompilation.EnsureNullableAttributeExists(diagnostics, getLocation(), ModifyCompilationForAttributeEmbedding());