7 references to EnsureIsReadOnlyAttributeExists
Microsoft.CodeAnalysis.CSharp (7)
BoundTree\UnboundLambda.cs (1)
820
compilation.
EnsureIsReadOnlyAttributeExists
(diagnostics, lambdaSymbol.DiagnosticLocation, modifyCompilation: false);
Symbols\Source\ParameterHelpers.cs (1)
251
compilation.
EnsureIsReadOnlyAttributeExists
(diagnostics, GetParameterLocation(parameter), modifyCompilation);
Symbols\Source\SourceFieldSymbol.cs (1)
141
compilation.
EnsureIsReadOnlyAttributeExists
(diagnostics, location, modifyCompilation: true);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1822
compilation.
EnsureIsReadOnlyAttributeExists
(diagnostics, location, modifyCompilation: true);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
958
compilation.
EnsureIsReadOnlyAttributeExists
(diagnostics, _location, modifyCompilation: true);
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
244
compilation.
EnsureIsReadOnlyAttributeExists
(diagnostics, getReturnTypeLocation(), modifyCompilation: true);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1027
compilation.
EnsureIsReadOnlyAttributeExists
(diagnostics, location, modifyCompilation: true);