19 references to ERR_GenericsUsedAcrossAssemblies
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1406
or ErrorCode.
ERR_GenericsUsedAcrossAssemblies
Symbols\NoPiaIllegalGenericInstantiationSymbol.cs (1)
69
return new CSDiagnosticInfo(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, _underlyingSymbol, _exposingModule.ContainingAssembly);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\BindingTests.cs (17)
1469
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "Class1").WithArguments("System.Collections.Generic.List<FooStruct>", "NoPIAGenerics1-Asm1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1472
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "Class1Foo").WithArguments("System.Collections.Generic.List<FooStruct>", "NoPIAGenerics1-Asm1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1475
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "Class1Foo").WithArguments("System.Collections.Generic.List<FooStruct>", "NoPIAGenerics1-Asm1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")
1501
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "Class1").WithArguments("System.Collections.Generic.List<FooStruct>", "NoPIAGenerics1-Asm1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")
1526
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "Class1").WithArguments("System.Collections.Generic.List<FooStruct>", "NoPIAGenerics1-Asm1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1562
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "Class1").WithArguments("System.Collections.Generic.List<FooStruct>", "NoPIAGenerics1-Asm1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1565
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "System.Console.WriteLine").WithArguments("System.Collections.Generic.List<FooStruct>", "NoPIAGenerics1-Asm1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1568
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "System.Console.WriteLine").WithArguments("System.Collections.Generic.List<FooStruct>", "NoPIAGenerics1-Asm1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1611
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24)
1619
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24),
1622
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24)
1667
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24)
1678
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24)
1718
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24)
1726
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24)
1769
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_4, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24)
1780
Diagnostic(ErrorCode.
ERR_GenericsUsedAcrossAssemblies
, "IBar").WithArguments("ImageMoniker?", "Bar948674_4, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 24)