1 implementation of MemorySafetyRulesVersion
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\ModuleSymbol.cs (1)
47MemorySafetyRulesVersion IModuleSymbol.MemorySafetyRulesVersion => _underlying.MemorySafetyRulesVersion;
7 references to MemorySafetyRulesVersion
Microsoft.CodeAnalysis (2)
MemorySafetyRulesVersion.cs (1)
10/// Memory safety rules version used by a module. See <see cref="IModuleSymbol.MemorySafetyRulesVersion"/> for more details.
Symbols\ISymbol.cs (1)
163/// The value of this property depends on the containing module's <see cref="IModuleSymbol.MemorySafetyRulesVersion"/>.
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
968symbol.ContainingModule.MemorySafetyRulesVersion == MemorySafetyRulesVersion.Version2)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryUnsafeModifier\CSharpRemoveUnnecessaryUnsafeModifierDiagnosticAnalyzer.cs (1)
33var checkForSafetyComment = compilation.SourceModule.MemorySafetyRulesVersion is MemorySafetyRulesVersion.Version2;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\RemoveUnneccessaryUnsafeModifier\CSharpRemoveUnnecessaryUnsafeModifierCodeFixProvider.cs (1)
43if (compilation.SourceModule.MemorySafetyRulesVersion is MemorySafetyRulesVersion.Version2)
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryUnsafeModifier\CSharpRemoveUnnecessaryUnsafeModifierDiagnosticAnalyzer.cs (1)
33var checkForSafetyComment = compilation.SourceModule.MemorySafetyRulesVersion is MemorySafetyRulesVersion.Version2;
src\roslyn\src\Analyzers\CSharp\CodeFixes\RemoveUnneccessaryUnsafeModifier\CSharpRemoveUnnecessaryUnsafeModifierCodeFixProvider.cs (1)
43if (compilation.SourceModule.MemorySafetyRulesVersion is MemorySafetyRulesVersion.Version2)