1 implementation of Type
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\DiscardSymbol.cs (1)
23ITypeSymbol IDiscardSymbol.Type
15 references to Type
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
1714s = ((IDiscardSymbol)s).Type;
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.cs (1)
299symbol.Type.Accept(this.NotFirstVisitor);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (10)
CodeGen\CodeGenDeconstructTests.cs (10)
6047IDiscardSymbol symbolClone = new DiscardSymbol(TypeWithAnnotations.Create(symbol.Type.GetSymbol())).GetPublicSymbol(); 6051Assert.Equal(symbol.Type, symbolClone.Type); 6054Assert.Same(symbol.Type, symbolClone.Type); // original symbol for System.Int32 has identity. 6096Assert.Equal(symbol0.Type, symbol.Type); 6102Assert.NotSame(symbol.Type, symbol0.Type); 6999Assert.Equal("System.Int32", discard3Symbol.Type.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\OutVarTests.cs (1)
32951Assert.Equal("System.Int32", discard3Symbol.Type.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\MethodTypeInferenceTests.cs (1)
853Assert.Equal(type, discardSymbol.Type.ToTestDisplayString(includeNonNullable: true));
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\TestOperationVisitor.cs (1)
1689Assert.Equal(operation.Type, discardSymbol.Type);