11 references to TryCreate
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
203
if (Rune.
TryCreate
(ch, out var rune))
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
334
if (Rune.
TryCreate
(ch, out var rune))
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
203
if (Rune.
TryCreate
(ch, out var rune))
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\IO\BinaryWriter.cs (1)
179
if (!Rune.
TryCreate
(ch, out Rune rune)) // optimistically assume UTF-8 code path (which uses Rune) will be hit
src\libraries\System.Private.CoreLib\src\System\Text\DecoderFallback.cs (1)
239
if (!Rune.
TryCreate
(ch, out Rune rune) && !Rune.TryCreate(ch, GetNextChar(), out rune))
src\libraries\System.Private.CoreLib\src\System\Text\EncoderFallback.cs (1)
280
if (Rune.
TryCreate
(firstChar, out Rune value) || Rune.TryCreate(firstChar, GetNextChar(), out value))
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (2)
331
if (
TryCreate
(firstChar, out result))
584
if (
TryCreate
(finalChar, out result))
System.Private.Uri (1)
System\IriHelper.cs (1)
179
else if (!Rune.
TryCreate
(ch, out rune))
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (1)
187
if (!Rune.
TryCreate
(thisChar, out Rune scalarValue))
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
203
if (Rune.
TryCreate
(ch, out var rune))