3 writes to SpecifiedKind
Microsoft.CodeAnalysis (1)
Compilation\ParseOptions.cs (1)
41this.SpecifiedKind = kind;
Microsoft.CodeAnalysis.CSharp (1)
CSharpParseOptions.cs (1)
96return new CSharpParseOptions(this) { SpecifiedKind = kind, Kind = effectiveKind };
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicParseOptions.vb (1)
154Return New VisualBasicParseOptions(Me) With {.SpecifiedKind = kind, .Kind = effectiveKind}
18 references to SpecifiedKind
Microsoft.CodeAnalysis (6)
Compilation\DeterministicKeyBuilder.cs (1)
519writer.Write("specifiedKind", parseOptions.SpecifiedKind);
Compilation\ParseOptions.cs (5)
82if (!SpecifiedKind.IsValid()) 84builder.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_BadSourceCodeKind, Location.None, SpecifiedKind.ToString())); 142this.SpecifiedKind == other.SpecifiedKind && 153Hash.Combine((int)this.SpecifiedKind,
Microsoft.CodeAnalysis.CSharp (1)
CSharpParseOptions.cs (1)
90if (kind == this.SpecifiedKind)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\CSharpParseOptionsTests.cs (5)
79Assert.Equal(SourceCodeKind.Regular, options.SpecifiedKind); 85Assert.Equal(SourceCodeKind.Regular, options.SpecifiedKind); 91Assert.Equal(SourceCodeKind.Script, options.SpecifiedKind); 98Assert.Equal(SourceCodeKind.Interactive, options.SpecifiedKind); 107Assert.Equal((SourceCodeKind)int.MinValue, options.SpecifiedKind);
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicParseOptions.vb (1)
149If kind = Me.SpecifiedKind Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)
Parser\VisualBasicParseOptionsTests.vb (5)
247Assert.Equal(SourceCodeKind.Regular, options.SpecifiedKind) 253Assert.Equal(SourceCodeKind.Regular, options.SpecifiedKind) 259Assert.Equal(SourceCodeKind.Script, options.SpecifiedKind) 266Assert.Equal(SourceCodeKind.Interactive, options.SpecifiedKind) 273Assert.Equal(CType(Int32.MinValue, SourceCodeKind), options.SpecifiedKind)