6 references to ERR_VolatileStruct
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
974
case ErrorCode.
ERR_VolatileStruct
:
Symbols\Source\SourceMemberFieldSymbol.cs (1)
88
diagnostics.Add(ErrorCode.
ERR_VolatileStruct
, this.ErrorLocation, this, type);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\SymbolErrorTests.cs (4)
12323
Diagnostic(ErrorCode.
ERR_VolatileStruct
, "i").WithArguments("TestClass.i", "long"),
12363
Diagnostic(ErrorCode.
ERR_VolatileStruct
, "f").WithArguments("C1<T>.f", "T"),
12365
Diagnostic(ErrorCode.
ERR_VolatileStruct
, "f").WithArguments("C3<T>.f", "T"),
12367
Diagnostic(ErrorCode.
ERR_VolatileStruct
, "f").WithArguments("C5<T>.f", "T"),