6 references to ERR_VolatileStruct
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1037
or ErrorCode.
ERR_VolatileStruct
Symbols\Source\SourceMemberFieldSymbol.cs (1)
94
diagnostics.Add(ErrorCode.
ERR_VolatileStruct
, this.ErrorLocation, this, type);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\SymbolErrorTests.cs (4)
12477
Diagnostic(ErrorCode.
ERR_VolatileStruct
, "i").WithArguments("TestClass.i", "long"),
12517
Diagnostic(ErrorCode.
ERR_VolatileStruct
, "f").WithArguments("C1<T>.f", "T"),
12519
Diagnostic(ErrorCode.
ERR_VolatileStruct
, "f").WithArguments("C3<T>.f", "T"),
12521
Diagnostic(ErrorCode.
ERR_VolatileStruct
, "f").WithArguments("C5<T>.f", "T"),